<div  style="min-height: 1003px;">

<!-- 面包屑 -->
    <!-- <breadcrumbs data="create_breadcrumbsData" ng-hide="isHide"></breadcrumbs> -->
    <!-- <breadcrumbs data="edit_breadcrumbsData" ng-hide="!isHide"></breadcrumbs> -->
    <div crumbs config="create_crumbsConfig" ng-hide="isHide"></div>
    <div crumbs config="edit_crumbsConfig" ng-hide="!isHide"></div>

    <div class="row">
        <div class="col-md-12">
            <div class="profile-content">
                <div class="portlet light ">

                    <div class="portlet-body form">
                          <form action="#" class="form-horizontal">

                              <div class="caption-subject font-blue-madison bold uppercase" style="margin:10px 0  30px; padding-bottom:20px;border-bottom: 1px solid #eee; font-size: 16px">基本信息</div>

                              <div class="form-group">
                                  <label for="name" class="col-sm-2 control-label" style="padding-right:0">姓氏 :</label>
                                  <div class="col-sm-3">
                                      <input type="text" class="form-control" id="name" style="border:1px solid #c2cad8" ng-model="user.last_name">
                                  </div>
                              </div>

                               <div class="form-group">
                                  <label for="name" class="col-sm-2 control-label" style="padding-right:0">名字 :</label>
                                  <div class="col-sm-3">
                                      <input type="text" class="form-control" id="name" style="border:1px solid #c2cad8" ng-model="user.first_name">
                                  </div>
                              </div>

                              <div class="form-group">
                                  <label for="userName" class="col-sm-2 control-label" style="padding-right:0">用户名 :</label>
                                  <div class="col-sm-3">
                                      <input type="text" class="form-control" id="userName" style="border:1px solid #c2cad8" ng-model="user.username">
                                  </div>
                              </div>

                              <div class="htrd-l-clear"></div>

                              <div class="form-group" style="position: relative;" ng-hide="isHide">
                                 <label for="passWord" class="col-sm-2 control-label" style="padding-right:0">密码 :</label>
                                 <div class="col-sm-3">
                                     <input type="text" class="form-control" id="passWord" placeholder="6~20位数字、字母和符号的组合" ng-blur="pswBlur()" style="border:1px solid #c2cad8" ng-model="user.password">
                                 </div>
                                 <div class="tips-error-text password" style="display: none;">
                                    <div> <span>密码格式不对</span></div>
                                 </div>
                             </div>

                             <div class="form-group" style="position: relative;" ng-hide="isHide">
                                 <label for="passWord" class="col-sm-2 control-label" style="padding-right:0">确认密码 :</label>
                                 <div class="col-sm-3">
                                     <input type="password" class="form-control" id="passWord" placeholder="必须与上面密码一致" ng-blur="confirmPswBlur()"  style="border:1px solid #c2cad8" ng-model="password">
                                 </div>
                                 <div class="tips-error-text confirmPassword" style="display: none;">
                                    <div> <span>两次输入不一致</span></div>
                                 </div>
                             </div>

                             <div class="caption-subject font-blue-madison bold uppercase" style="overflow: hidden;margin:10px 0  30px; padding-bottom:20px;border-bottom: 1px solid #eee; font-size: 16px">联系方式</div>

                             <div class="form-group" style="position: relative;">
                                  <label for="email" class="col-sm-2 control-label" style="padding-right:0">邮箱 :</label>
                                  <div class="col-sm-3">
                                      <input type="email" class="form-control" id="email" ng-blur="emailBlur()"  style="border:1px solid #c2cad8" ng-model="user.email">
                                  </div>
                                  <div class="tips-error-text email" style="display: none;">
                                    <div> <span>邮箱格式不对</span></div>
                                 </div>
                              </div>

                              <div class="caption-subject font-blue-madison bold uppercase" style="overflow: hidden;margin:10px 0  30px; padding-bottom:20px;border-bottom: 1px solid #eee; font-size: 16px">权限设置</div>

                              <div style="margin-left: 156px">

                                <div class="htrd-l-fl col-sm-2" style="margin-right:10px ">
                                  <div class="htrd-l-icon icon-radio" ng-class="{true: 'active'}[user.is_active] " ng-click="select(1)"></div>
                                  <span>启用</span>
                                </div>
                                <div class="htrd-l-fl col-sm-2" style="margin-right:10px ">
                                  <div class="htrd-l-icon icon-radio"  ng-class="{false: 'active'}[user.is_active]" ng-click="select(0)"></div>
                                  <span>禁用</span>
                                </div>

                              </div>

                              <div class="htrd-l-clear"></div>

                           <div style="margin:35px 0 0 92px">
                                <span style="float:left">选择组 :</span>
                                <div ng-if="groupList" multi-select title='title' all-data="groupList" query-data='queryGroup' tag="'group'"></div>
                                  <div class="htrd-l-clear"></div>
                                </div>


                              <div>
                                <div class=" col-md-9" style="margin:15px 0 0 189px">
                                  <button type="button" class="btn btn-primary" ng-click="save()">保存</button>
                                  <button type="button" class="btn btn-default" ng-click="giveUp()">放弃</button>
                                  <button type="button" class="btn btn-primary" ng-click="saveAdd()">保存并添加下一个</button>
                                </div>
                                <div class="htrd-l-clear"></div>
                              </div>

                          </form>
                      </div>

                </div>
            </div>
        </div>
    </div>
</div>
